﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using A2DFramework.InstanceService;

namespace A2DFramework.LogService
{
    public static class Log
    {
        public static void Write(Exception ex, params string[] additionalInfos)
        {
            ILog logger = ObjectFactory.Resolve<ILog>();
            logger.Log(ex, additionalInfos);
        }
        public static void Write(string msg, params string[] additionalInfos)
        {
            ILog logger=ObjectFactory.Resolve<ILog>();
            logger.Log(msg, additionalInfos);
        }
    }
}
